import { createRouter, createWebHashHistory} from 'vue-router';

import Home from "../pages/home/home.vue";
import Table from "../pages/table/table.vue"

const router = createRouter({
    history: createWebHashHistory(),
    routes: [
        { path:"/",redirect:"/home" },
        {
            path:"/home",
            name: "home",
            component: Home,
        },
        {
            path:"/table",
            name: "table",
            component: Table,
        }
    ]
})

export default router